package com.etcbase.dcs.controller.lookup;

import com.etcbase.dcs.R;
import com.etcbase.dcs.controller.main.MainActivity;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ListView;

public class ServiceFileFormPanelFragment extends Fragment {
	public static final String TAG = ServiceFileFormPanelFragment.class.getSimpleName(); 
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		
		View parentView = inflater.inflate(R.layout.service_file_form_panel, container, false);
		
		Button buttonBACK = (Button) parentView.findViewById(R.id.serviceFileFormPanelButtonBack);
		buttonBACK.setOnClickListener( new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				MainActivity main = (MainActivity) getActivity();
				main.setCenterFragment(R.id.mainButtonTopMenuAdvenceSearch);
			}
		} );
		
		return parentView;
	}
	

}
